package com.qj.travel.service;

import com.qj.travel.db.model.VideoInfoModel;

import java.util.List;

/**
 * Created by Admin on 2016/10/1.
 */
public interface VideoInfoService {
    List<VideoInfoModel> getVideoInfoList();
    VideoInfoModel getVideoInfo(int videoId);
    int insertVideoInfo(VideoInfoModel videoInfoModel);
    int updateVoteNum(int videoId, int voteNum);
    List<VideoInfoModel> getVideoInfoListByPage(int startRow,int pageSize);
    int updatePublish(int videoId);
    int cancelPublish(int videoId);
    int deleteVideo(int videoId);
    List<VideoInfoModel> getVideoBySort(String videoClass,int startRow,int pageSize);
    List<VideoInfoModel> getVideoPublished(int startRow,int pageSize);
    List<VideoInfoModel> getVideoPublishedBySort(String videoClass,int startRow,int pageSize);
    int getVideoStatus(int videoId);
    int updateLock(int videoId);
    int updateVideoInfo(int videoId,String videoName,String videoIntro,String videoClass);
    List<VideoInfoModel> getVideoNotPublished(int startRow,int pageSize);
    List<VideoInfoModel> getVideoByUser(String userId);
    List<VideoInfoModel> getVideoByUserPublished(String userId);
    List<VideoInfoModel> getVideoByUserNotPublished(String userId);
    int insertMessage(int videoId,String message);
    int updateNotPass(int videoId);
    List<VideoInfoModel> getVideoByUserNotPass(String userId);
    List<VideoInfoModel> getVideoNotPass();
}
